package com.wnhz.work.yz.bean;

import com.wnhz.work.yz.base.BaseBean;

import java.util.List;

/**
 * Created by admin on 2017/6/1.
 */
public class GoToOrderBean extends BaseBean{

    /**
     * result : 1
     * info : {"list":[{"order_id":"12","user_id":"792","add_time":"1496318300","type":"0","goods_id":"5","price":"10.00","nums":"0","goods_name":"浴室安装","unit":"套","goods_img":"http://youzhu.unohacha.com/Uploads/Picture/uploads/20170525/5926c2d2a077a.png","goods_des":"浴室安装服务"}],"order_no":"DT20170601195820940","create_time":"2017-06-01 19:58:20","amount":"174000.00","needPay":"17400","wallet":"不足"}
     */

    private String result;
    /**
     * list : [{"order_id":"12","user_id":"792","add_time":"1496318300","type":"0","goods_id":"5","price":"10.00","nums":"0","goods_name":"浴室安装","unit":"套","goods_img":"http://youzhu.unohacha.com/Uploads/Picture/uploads/20170525/5926c2d2a077a.png","goods_des":"浴室安装服务"}]
     * order_no : DT20170601195820940
     * create_time : 2017-06-01 19:58:20
     * amount : 174000.00
     * needPay : 17400
     * wallet : 不足
     */

    private InfoEntity info;

    public void setResult(String result) {
        this.result = result;
    }

    public void setInfo(InfoEntity info) {
        this.info = info;
    }

    public String getResult() {
        return result;
    }

    public InfoEntity getInfo() {
        return info;
    }

    public static class InfoEntity extends BaseBean{
        private String order_no;
        private String create_time;
        private String amount;
        private String needPay;
        private String wallet;
        /**
         * order_id : 12
         * user_id : 792
         * add_time : 1496318300
         * type : 0
         * goods_id : 5
         * price : 10.00
         * nums : 0
         * goods_name : 浴室安装
         * unit : 套
         * goods_img : http://youzhu.unohacha.com/Uploads/Picture/uploads/20170525/5926c2d2a077a.png
         * goods_des : 浴室安装服务
         */

        private List<ListEntity> list;

        public void setOrder_no(String order_no) {
            this.order_no = order_no;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public void setAmount(String amount) {
            this.amount = amount;
        }

        public void setNeedPay(String needPay) {
            this.needPay = needPay;
        }

        public void setWallet(String wallet) {
            this.wallet = wallet;
        }

        public void setList(List<ListEntity> list) {
            this.list = list;
        }

        public String getOrder_no() {
            return order_no;
        }

        public String getCreate_time() {
            return create_time;
        }

        public String getAmount() {
            return amount;
        }

        public String getNeedPay() {
            return needPay;
        }

        public String getWallet() {
            return wallet;
        }

        public List<ListEntity> getList() {
            return list;
        }

        public static class ListEntity extends BaseBean{
            private String order_id;
            private String user_id;
            private String add_time;
            private String type;
            private String goods_id;
            private String price;
            private String nums;
            private String goods_name;
            private String unit;
            private String goods_img;
            private String goods_des;

            public void setOrder_id(String order_id) {
                this.order_id = order_id;
            }

            public void setUser_id(String user_id) {
                this.user_id = user_id;
            }

            public void setAdd_time(String add_time) {
                this.add_time = add_time;
            }

            public void setType(String type) {
                this.type = type;
            }

            public void setGoods_id(String goods_id) {
                this.goods_id = goods_id;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public void setNums(String nums) {
                this.nums = nums;
            }

            public void setGoods_name(String goods_name) {
                this.goods_name = goods_name;
            }

            public void setUnit(String unit) {
                this.unit = unit;
            }

            public void setGoods_img(String goods_img) {
                this.goods_img = goods_img;
            }

            public void setGoods_des(String goods_des) {
                this.goods_des = goods_des;
            }

            public String getOrder_id() {
                return order_id;
            }

            public String getUser_id() {
                return user_id;
            }

            public String getAdd_time() {
                return add_time;
            }

            public String getType() {
                return type;
            }

            public String getGoods_id() {
                return goods_id;
            }

            public String getPrice() {
                return price;
            }

            public String getNums() {
                return nums;
            }

            public String getGoods_name() {
                return goods_name;
            }

            public String getUnit() {
                return unit;
            }

            public String getGoods_img() {
                return goods_img;
            }

            public String getGoods_des() {
                return goods_des;
            }
        }
    }
}
